﻿using System;

namespace Plugins.Interfaces
{
    public interface IPluginEvent<T>
    {
        void AddEvent(string propertyName, Action<T> propertyHandler);
        void AddEvent(string propertyName, Action<T> propertyHandler, int priority);
        void RemoveEvent(string propertyName, Action<T> propertyHandler);
        void RemoveEvent(string propertyName, Action<T> propertyHandler, int priority);
    }
}
